package com.arron.reflect;

/**
 * @Classname App
 * @Date 2020/8/28 14:48
 * @Created by 刘
 */
public class App {

    private int code;

    public static  int a=test();

    static{
        System.out.println("执行static块");
    }

    private static int test() {
        System.out.println("test");
        return 1;
    }

    public App(int code) {
        this.code = code;
    }

    public App(){

    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
